﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dtu_lan_winRT_app.Model.Orders;

namespace dtu_lan_winRT_app.Model.Food
{
    public class Pizza : IOrderable
    {
        public string Description { get; private set; }
        public string Title { get; private set; }
        public string Number { get; private set; }
        public Category Category { get; private set; }

        private int id;
        public int ID { get { return id; } }

        public Pizza(string description, string title, Category category, string number, int ID)
        {
            this.id = ID;
            this.Description = description;
            this.Title = title;
            this.Number = number;
            this.Category = category;
        }
    }

    public class Candy : IOrderable
    {
        //Simulating final properties
        public string Description { get; private set; }
        public string Title { get; private set; }
        public Category Category { get; private set; }

        public Candy(string description, string title, Category category)
        {
            this.Description = description;
            this.Title = title;
            this.Category = category;
        }
    }

    public class Beverage : IOrderable
    {
        //Simulating final properties
        public string Description { get; private set; }
        public string Title { get; private set; }
        public Category Category { get; private set; }

        public Beverage(string description, string title, Category category)
        {
            this.Description = description;
            this.Title = title;
            this.Category = category;
        }
    }

    public interface IOrderable
    {
        string Description { get; }
        string Title { get; }
        Category Category { get; }
    }
}
